using B.S.RbacData.ErrorCode;
using MediatR;
using SupplierCustomerManagement.Read.API.Dtos;

namespace SupplierCustomerManagement.Read.API.Applications.Commands.customers
{
    /// <summary>
    /// 获取客户列表查询命令
    /// </summary>
    public class GetCustomersQuery : IRequest<ApiPaging<CustomerListDto>>
    {
        /// <summary>
        /// 页码（从1开始）
        /// </summary>
        public int PageIndex { get; set; } = 1;

        /// <summary>
        /// 每页大小
        /// </summary>
        public int PageSize { get; set; } = 10;

        /// <summary>
        /// 客户编号（模糊查询）
        /// </summary>
        public string? CustomerCode { get; set; }

        /// <summary>
        /// 客户名称（模糊查询）
        /// </summary>
        public string? Name { get; set; }

        /// <summary>
        /// 客户类型（个人/企业）
        /// </summary>
        public string? Type { get; set; }

     
        /// <summary>
        /// 所属行业（模糊查询）
        /// </summary>
        public string? Industry { get; set; }

        /// <summary>
        /// 使用状态（启用/停用）
        /// </summary>
        public string? Status { get; set; }

        /// <summary>
        /// 是否归档
        /// </summary>
        public bool? IsArchived { get; set; }

   

    
    }
}
